package com.demo.villageresidence.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName tb_tender
 */
@TableName(value ="tb_tender")
@Data
public class Tender implements Serializable {
    /**
     * 招标信息表id
     */
    @TableId(type = IdType.AUTO)
    private Integer tenderId;

    /**
     * 招标标题
     */
    private String tenderTitle;

    /**
     * 招标内容
     */
    private String tenderContent;

    /**
     * 招标摘要
     */
    private String tenderDigest;

    /**
     * 招标发布时间
     */
    private LocalDateTime tenderTime;

    /**
     * 投标开始时间
     */
    private Date tenderStarttime;

    /**
     * 投标结束时间
     */
    private Date tenderEndtime;

    /**
     * 管理员表id  外键（admin表-admin_id
     */
    private Integer adminId;

    @TableField(exist = false)
    private Admin admin;

    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}